package com.yc;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.gateway.filter.factory.AddRequestHeaderGatewayFilterFactory;
import org.springframework.cloud.gateway.filter.factory.AddRequestParameterGatewayFilterFactory;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
public class GatewayApp {
    //    BetweenRoutePredicateFactory betweenRoutePredicateFactory;
    AddRequestParameterGatewayFilterFactory addRequestParameterGatewayFilterFactory;
    AddRequestHeaderGatewayFilterFactory addRequestHeaderGatewayFilterFactory;
    public static void main(String[] args){
        SpringApplication.run(  GatewayApp.class, args);
    }
}
